﻿using MCPlatform.Dxf.Interfaces;
using MCPlatform.Dxf.Readers;
using MCPlatform.Dxf.Writers;
using System;
using System.Linq;

namespace MCPlatform.Dxf.Factories
{
    public class DxfFactory : IDxfFactory
    {
        public DxfReader CreateReader()
        {
            return new DxfReader(); // 创建并返回DxfReader实例  
        }

        public DxfWriter CreateWriter()
        {
            return new DxfWriter(); // 创建并返回DxfWriter实例  
        }
    }
}
